package designpatterns.adapter.adaobject.code;

/**
 * 被适配者
 */
public class Voltage220V {

    private final Integer voltage = 220;

    public Integer outPut() {
        System.out.println("输出电压："+voltage+"伏");
        return voltage;
    }
}
